﻿<Window x:Class="SwyishChess.DesktopUI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="800" Width="1070" WindowStyle="None" ResizeMode="NoResize" Closed="OnWindowClosed" AllowsTransparency="True" Background="White">
    <Grid Height="800" Width="1058" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" >
        <StackPanel Name="BlackPiecesCanvas" Orientation="Horizontal" Background="White" Height="50" Margin="10,0,-10,750" />
        <Canvas Name="GameBoardCanvas" HorizontalAlignment="Left" VerticalAlignment="Top" Width="640" Height="640" Margin="33,80,0,0">

        </Canvas>
        <StackPanel Name="WhitePiecesCanvas" Orientation="Horizontal" Background="White" Height="50" Margin="8,750,-8,0" />
        <Grid Height="690" Width="355" Margin="703,55,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Name="GridBG">
            <ListBox x:Name="MoveListBox" HorizontalAlignment="Left" Height="355" Margin="10,335,0,0" VerticalAlignment="Top" Width="340" />
            <Button x:Name="ButtonQuit" Content="_Quit" HorizontalAlignment="Left" Margin="185,295,0,0" VerticalAlignment="Top" Width="165" RenderTransformOrigin="-0.48,2.528" Height="35" Click="ButtonQuit_Click"/>
            <Button x:Name="ButtonRestart" Content="Res_tart" HorizontalAlignment="Left" Margin="10,295,0,0" VerticalAlignment="Top" Width="165" RenderTransformOrigin="-0.48,2.528" Height="35" Click="ButtonRestart_Click"/>
            <Button x:Name="ButtonRedo" Content="_Redo" HorizontalAlignment="Left" Margin="185,255,0,0" VerticalAlignment="Top" Width="165" RenderTransformOrigin="-0.48,2.528" Height="35" Click="ButtonRedo_Click"/>
            <Button x:Name="ButtonUndo" Content="_Undo" HorizontalAlignment="Left" Margin="10,255,0,0" VerticalAlignment="Top" Width="165" RenderTransformOrigin="-0.48,2.528" Height="35" Click="ButtonUndo_Click"/>
            <Label x:Name="textBlockTimeElapsed" Foreground="Black" Content="Time Elapsed: 00:00:00" HorizontalAlignment="Center" Margin="98,10,51,0" VerticalAlignment="Top" Height="35" FontSize="16" RenderTransformOrigin="-0.039,0.567" Width="206"/>
            <TextBlock x:Name="textBlockTurn" Text="White's Turn" HorizontalAlignment="Left" Margin="13,45,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.078,-0.225" Height="66" Width="340" FontSize="40" FontWeight="Bold" Foreground="Black" TextAlignment="Center"/>
          
            <TextBlock x:Name="textBlockWarning" HorizontalAlignment="Left" Margin="13,187,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.078,-0.225" Height="66" Width="340" FontSize="40" FontWeight="Bold" TextAlignment="Center" Foreground="Red"/>
        </Grid>
        <Grid HorizontalAlignment="Left" Height="650" Margin="8,75,0,0" VerticalAlignment="Top" Width="20" Background="Black">
            <TextBlock Foreground="White" Text="8" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 40, 0, 0"/>
            <TextBlock Foreground="White" Text="7" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 120, 0, 0"/>
            <TextBlock Foreground="White" Text="6" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 200, 0, 0"/>
            <TextBlock Foreground="White" Text="5" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 280, 0, 0"/>
            <TextBlock Foreground="White" Text="4" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 360, 0, 0"/>
            <TextBlock Foreground="White" Text="3" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 440, 0, 0"/>
            <TextBlock Foreground="White" Text="2" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 520, 0, 0"/>
            <TextBlock Foreground="White" Text="1" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 600, 0, 0"/>
        </Grid>
        <Grid HorizontalAlignment="Left" Height="20" Margin="8,725,0,0" VerticalAlignment="Top" Width="670" Background="Black">
            <TextBlock Foreground="White" Text="a" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="60, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="b" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="140, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="c" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="220, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="d" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="300, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="e" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="380, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="f" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="460, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="g" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="540, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="h" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="620, 0, 0, 0"/>
        </Grid>
        <Grid HorizontalAlignment="Left" Height="20" Margin="8,55,0,0" VerticalAlignment="Top" Width="690" Background="Black">
            <TextBlock Foreground="White" Text="a" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="60, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="b" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="140, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="c" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="220, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="d" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="300, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="e" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="380, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="f" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="460, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="g" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="540, 0, 0, 0"/>
            <TextBlock Foreground="White" Text="h" HorizontalAlignment="Left" Width="80" VerticalAlignment="Top" Margin="620, 0, 0, 0"/>
        </Grid>
        <Grid HorizontalAlignment="Left" Height="670" Margin="678,75,0,0" VerticalAlignment="Top" Width="20" Background="Black">
            <TextBlock Foreground="White" Text="8" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 40, 0, 0"/>
            <TextBlock Foreground="White" Text="7" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 120, 0, 0"/>
            <TextBlock Foreground="White" Text="6" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 200, 0, 0"/>
            <TextBlock Foreground="White" Text="5" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 280, 0, 0"/>
            <TextBlock Foreground="White" Text="4" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 360, 0, 0"/>
            <TextBlock Foreground="White" Text="3" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 440, 0, 0"/>
            <TextBlock Foreground="White" Text="2" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 520, 0, 0"/>
            <TextBlock Foreground="White" Text="1" HorizontalAlignment="Center" Height="80" VerticalAlignment="Top" Margin="0, 600, 0, 0"/>
        </Grid>
    </Grid>
</Window>
